package com.bana.fvs.model;

import com.bana.fvs.code.DeviceType;
import com.bana.sys.model.TreeNode;

import java.util.List;

/**
 * 能见度检测仪
 */
public class Visibility extends TreeNode {

    //数据库字段
    private int jcybm;
    private String jcymc;
    private String txcs;
    private int gzms;
    private int bjfzxx;
    private int bjfzsx;
    private int kzqbm;
    private String jcybh;

    //基本信息
    private int wqbm;
    private String wqmc;
    private String kzqmc;
    private int kzqbsm;
    private int kzqdk;
    private String gzmssm;
    private int sbzt;
    private String sbztsm;
    private String gxsj;

    private List<Controller> controllers;

    //树节点
    @Override
    public String getId() {
        return String.format("%d%d", DeviceType.Visibility,jcybm);
    }
    @Override
    public int getKey() {
        return jcybm;
    }
    @Override
    public String getName() {
        return jcymc;
    }
    @Override
    public int getType() {
        return DeviceType.Visibility;
    }
    @Override
    public boolean isLeaf() {
        return true;
    }


    public int getJcybm() {
        return jcybm;
    }

    public void setJcybm(int jcybm) {
        this.jcybm = jcybm;
    }

    public void setJcymc(String jcymc) {
        this.jcymc = jcymc;
    }

    public String getJcymc() {
        return jcymc;
    }

    public int getKzqbm() {
        return kzqbm;
    }

    public void setKzqbm(int kzqbm) {
        this.kzqbm = kzqbm;
    }

    public String getTxcs() {
        return txcs;
    }

    public void setTxcs(String txcs) {
        this.txcs = txcs;
    }

    public int getGzms() {
        return gzms;
    }

    public void setGzms(int gzms) {
        this.gzms = gzms;
    }

    public int getBjfzxx() {
        return bjfzxx;
    }

    public void setBjfzxx(int bjfzxx) {
        this.bjfzxx = bjfzxx;
    }

    public int getBjfzsx() {
        return bjfzsx;
    }

    public void setBjfzsx(int bjfzsx) {
        this.bjfzsx = bjfzsx;
    }

    public int getWqbm() {
        return wqbm;
    }

    public void setWqbm(int wqbm) {
        this.wqbm = wqbm;
    }

    public String getWqmc() {
        return wqmc;
    }

    public void setWqmc(String wqmc) {
        this.wqmc = wqmc;
    }

    public String getGzmssm() {
        return gzmssm;
    }

    public void setGzmssm(String gzmssm) {
        this.gzmssm = gzmssm;
    }

    public int getKzqbsm() {
        return kzqbsm;
    }

    public void setKzqbsm(int kzqbsm) {
        this.kzqbsm = kzqbsm;
    }

    public String getKzqmc() {
        return kzqmc;
    }

    public void setKzqmc(String kzqmc) {
        this.kzqmc = kzqmc;
    }

    public int getSbzt() {
        return sbzt;
    }

    public void setSbzt(int sbzt) {
        this.sbzt = sbzt;
    }

    public String getSbztsm() {
        return sbztsm;
    }

    public void setSbztsm(String sbztsm) {
        this.sbztsm = sbztsm;
    }

    public String getGxsj() {
        return gxsj;
    }

    public void setGxsj(String gxsj) {
        this.gxsj = gxsj;
    }

    public int getKzqdk() {
        return kzqdk;
    }

    public void setKzqdk(int kzqdk) {
        this.kzqdk = kzqdk;
    }

    public List<Controller> getControllers() {
        return controllers;
    }

    public void setControllers(List<Controller> controllers) {
        this.controllers = controllers;
    }

    public String getJcybh() {
        return jcybh;
    }

    public void setJcybh(String jcybh) {
        this.jcybh = jcybh;
    }
}
